<?php namespace App\Exceptions;

use Exception;


class ApiException extends Exception
{
    const VALIDATE_INPUT_FAIL = '传入参数错误';
    const USER_NOT_FIND = '未注册用户';
    const BOOK_IS_UNKNOWN = '未知书籍';
    const ERRBOOK_WORK_FAIL ='异常处理失败';
    const UPDATE_BOOK_SJ_FAIL ='更新书上架失败';
    const BACK_BOOK_FAIL ='还书失败';
    const UPDATE_BOOK_IN_DOOR_FAIL ='添加门书关系失败';
    const LEND_BOOK_FAIL ='借书失败';
    const FOR_UPDATE_BOOK_SJ_FAIL ='更新书待上架失败';
    const UPDATE_BOOK_YC_FAIL ='更新书异常失败';



}
